<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %>
<!doctype html>
<html class="no-js">
<head>
    <%@ include file="./../common/meta.jsp" %>
    <link rel="stylesheet" href="../../css/address.css">
</head>
<body>
<header data-am-sticky class="am-header am-header-default am-no-layout">
    <div class="am-header-left am-header-nav">
        <a href="./settings.jsp" class="">
            <i class="am-header-icon am-icon-chevron-left"></i>
        </a>
    </div>
    <h1 class="am-header-title">收货地址</h1>
</header>


<div data-am-widget="list_news" class="am-list-news am-list-news-default">
    <div class="am-list-news-hd am-cf">
        <!--带更多链接-->
        <a href="./address-editor.jsp" class="">
            <span class="am-list-news-more am-fr">增加</span>
        </a>
    </div>


    <div class="am-list-news-bd">
        <ul class="am-list" id="address-list">
        </ul>
        <%--<button type="button" class="am-btn am-btn-primary am-btn-block">确定</button>--%>
    </div>

</div>


<div class="am-modal am-modal-alert" tabindex="-1" id="modal-alert">
    <div class="am-modal-dialog">
        <div class="am-modal-hd">提示</div>
        <div class="am-modal-bd"></div>
        <div class="am-modal-footer">
            <span class="am-modal-btn">确定</span>
        </div>
    </div>
</div>

<%@ include file="./../common/footerNav.jsp" %>
<%@ include file="./../common/footer.jsp" %>
<script src="../../js/settings/address.js"></script>


<script id="address-template" type="text/x-handlebars-template">
    {{#each this}}

    <li class="am-g">
        <a href="./address-editor.jsp?id={{id}}">
            <label class="am-radio-inline">
                {{address}}
                <br/> {{name}} {{phone}}
            </label>
        </a>
    </li>

    {{/each}}
</script>

</body>
</html>